package com.lyj.book.common.enums;

/**
 * @author liuyj
 * @create 2018-01-31 13:51
 **/
public enum ResponseCodeEnum {

    SUCCESS(200,"success"),
    FAIL(1,"fail");

    private int code;

    private String description;

    ResponseCodeEnum(int code, String description) {
        this.code = code;
        this.description = description;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
}
